home *** CD-ROM | disk | FTP | other *** search
/ Aminet 4 / Aminet 4 - November 1994.iso / aminet / comm / misc / avmnfaxsrc1_33.lha / render.c < prev    next >
C/C++ Source or Header  |  1994-05-25  |  2KB  |  50 lines

  1. /*
  2.  * Copyright (c) 1992 Commodore-Amiga, Inc.
  3.  * 
  4.  * This example is provided in electronic form by Commodore-Amiga, Inc. for 
  5.  * use with the "Amiga ROM Kernel Reference Manual: Devices", 3rd Edition, 
  6.  * published by Addison-Wesley (ISBN 0-201-56775-X).
  7.  * 
  8.  * The "Amiga ROM Kernel Reference Manual: Devices" contains additional 
  9.  * information on the correct usage of the techniques and operating system 
  10.  * functions presented in these examples.  The source and executable code 
  11.  * of these examples may only be distributed in free electronic form, via 
  12.  * bulletin board or as part of a fully non-commercial and freely 
  13.  * redistributable diskette.  Both the source and executable code (including 
  14.  * comments) must be included, without modification, in any copy.  This 
  15.  * example may not be published in printed form or distributed with any
  16.  * commercial product.  However, the programming techniques and support
  17.  * routines set forth in these examples may be used in the development
  18.  * of original executable software products for Commodore Amiga computers.
  19.  * 
  20.  * All other rights reserved.
  21.  * 
  22.  * This example is provided "as-is" and is subject to change; no
  23.  * warranties are made.  All use is at your own risk. No liability or
  24.  * responsibility is assumed.
  25.  *
  26.  ****************************************************************************
  27.  *
  28.  *        HP_LaserJet driver.
  29.  */
  30.  
  31. #include <exec/types.h>
  32. #include <exec/nodes.h>
  33. #include <exec/lists.h>
  34. #include <exec/memory.h>
  35. #include <devices/prtbase.h>
  36. #include <devices/printer.h>
  37.  
  38. #define NUMSTARTCMD     7       /* # of cmd bytes before binary data */
  39. #define NUMENDCMD       0       /* # of cmd bytes after binary data */
  40. #define NUMTOTALCMD (NUMSTARTCMD + NUMENDCMD)   /* total of above */
  41.  
  42. extern SetDensity();
  43. /*
  44.         00-04   \033&l0L        perf skip mode off
  45.         05-11   \033*t075R      set raster graphics resolution (dpi)
  46.         12-16   \033*r0A        start raster graphics
  47. */
  48. char StartCmd[18] = "";
  49.  
  50.